﻿using System.Drawing;
using System.Windows;
using System.Windows.Media;
using Brushes = System.Windows.Media.Brushes;
using Pen = System.Windows.Media.Pen;

namespace WorldModels.Terrains
{
    /// <summary>
    /// Grass
    /// </summary>
    public class Grass : ITerrain
    {
        private static readonly Pen ThePen = new Pen(Brushes.Green, 0.1);

        public readonly static Grass Instance = new Grass();

        public void Draw(DrawingContext dc, int x, int y, int size)
        {
            dc.DrawRectangle(Brushes.Green, ThePen, new Rect(x, y, x + size, y + size));
        }
    }
}